<%--
  Created by IntelliJ IDEA.
  User: ZYT
  Date: 2022/5/22
  Time: 17:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录界面</title>
    <link rel="stylesheet" type="text/css" href="p_css/location.css">
    <link rel="stylesheet" type="text/css" href="p_css/register11.css">

</head>
<body>
<div class="login">
    <center>
    <h1>用户登录</h1>
        <form action="/hospital/PatientLoginServlet" method="post">
            <input type="text" class="txt" name="p_id" value="手机号码" onfocus="if (value =='手机号码'){value =''}" onblur="if (value ==''){value='手机号码'}" style="height: 30px"><br><br>
            <input type="password" class="txt" name="p_password" placeholder="密码" onfocus="if (placeholder =='密码'){placeholder =''}" onblur="if (placeholder ==''){placeholder ='密码'}" style="height: 30px"><br><br>
            <input type="submit" value="登录" id="BtnLogin"><br><br>
        </form>
    <span>没有账号？&nbsp;&nbsp; <a href="register.jsp">立即注册&gt;</a></span><br><br>
        <span style="color: red">${sessionScope.message}</span><a href="/hospital">返回首页</a>
    </center>
</div>

</body>
</html>
